import { reqfloorGet } from "@/API/index";
const actions = {
    async reqfloor({ commit }) {
        let floor = await reqfloorGet()
        if (floor.code == 200) {
            commit("Getfloor", floor.data)
        }
    }
}
const mutations = {
    Getfloor(state, floor) {
        state.floordata = floor;

    }
}
const state = {
    floordata: [],
}
export default {
    actions,
    mutations,
    state
}


